 a = zeros(512:512);

for i = 100 : 200
     for j = 100 : 200
         a(i,j) = 1;
     end
end
figure,imshow(a),title('Square Image');
imtool(a);   











